class PetDog{
    public String name;
    public  short age;
    public  String color;
    public void barks(){
        System.out.println(name+":汪汪");
    }
    public void wag(){
        System.out.println(name+":摇尾巴");
    }
}
